package com.example.service.impl;

import com.example.entity.vo.CmsmvVo;
import com.example.entity.yifei.Cmsmv;
import com.example.mapper.CmsmvMapper;
import com.example.service.CmsmvService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-02-22
 */
@Service
public class CmsmvServiceImpl extends ServiceImpl<CmsmvMapper, Cmsmv> implements CmsmvService {
    @Resource
    private CmsmvMapper cmsmvMapper;

    @Override
    public List<CmsmvVo> selectLike(String mv002) {
        List<CmsmvVo> cmsmvVoList = cmsmvMapper.selectLike(mv002);
        return cmsmvVoList;
    }

    @Override
    public List<Cmsmv> getAll(String MV001,String MV002) {
        List<Cmsmv> cmsmvs = cmsmvMapper.getAll(MV001, MV002);
        return cmsmvs;
    }

}
